package operation;

import cars.Factory;

/**
 * Created with IntelliJ IDEA.
 * Description:
 * User: mac
 * Date: 2022-11-28
 * Time: 21:26
 */
public class ExitOperation implements IOperation{
    @Override
    public void work(Factory factory) {
        System.out.println("退出系统");
        System.exit(0);
    }
}
